﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Security.Principal;

namespace WorkOne.Domain.Model
{
    public class Goods
    {
        [Key]
        public int Id { get; set; }

        public string Name { get; set; }

        public string Desc { get; set; }

        public string Images { get; set; }

        public bool State { get; set; }

        public string GoodsType { get; set; }

        public decimal Price { get; set; }

        public bool IsDel { get; set; }

        public int NumSum { get; set; }

        [NotMapped]
        public int GoodsNum { get; set; }

        //创建人审计字段
        public string CreatePeople { get; set; }

        //创建时间审计字段
        public DateTime CreateTime { get; set; }

        //修改人审计字段
        public string UpdatePeople { get; set; }

        //修改时间审计字段
        public DateTime UpdateTime { get; set; }
    }
}